package com.campus.lostandfound.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.lostandfound.entity.Announcement;

/**
 * 公告Service接口
 */
public interface AnnouncementService extends IService<Announcement> {
    
    /**
     * 发布公告
     */
    boolean publishAnnouncement(Announcement announcement);
    
    /**
     * 获取公告列表
     */
    IPage<Announcement> getAnnouncementList(Integer current, Integer size);
}

